package org.example.gradleconfig;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.config.server.EnableConfigServer;
//http://localhost:31000/application/defualt
//http://localhost:31000/application/dev
//http://localhost:31000/application/xxxx 在线查看配置文件
//# 示例：刷新本地运行的8080端口上的应用
//curl -X POST http://localhost:8080/actuator/refresh

/**
 * org.springframework.cloud.config.server.resource.ResourceController
 */
@EnableConfigServer
@SpringBootApplication
public class GradleConfigApplication {

    public static void main(String[] args) {

        SpringApplication.run(GradleConfigApplication.class, args);
    }

}
